package com.itheima.demo3genericity;

import com.itheima.demo2genericity.MyArrayList;

public class GenericDemo3 {
    public static void main(String[] args) {
//        目标：搞清楚泛型接口的基本作用
//        需求：项目需要对学生数据/老师数据都要进行增删改查操作
        StudentData studentData = new StudentData();
        studentData.add(new Student());
        studentData.delete(new Student());
        studentData.update(new Student());
        studentData.query(35);
    }
}
